import request from '@/utils/request'

function getTree(data) {
  return request({
    url:'/videos/category/tree',
    method:'get',
    params:data
  })
}

function getInfo(data) {
  return request({
    url:'/videos/category/info/'+data,
    method:'get',
  })
}
export default { getTree, getInfo }